QT       += core gui

QT += sql

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

CONFIG += c++17

# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

RC_ICONS = logo.ico

INCLUDEPATH += $$PWD\Widget \
               $$PWD\Widget\include \
               $$PWD\Widget\src \
               $$PWD\Widget\UI \
               $$PWD\ljh \
               $$PWD\lah \
               $$PWD\DB \

include($$PWD\Widget\Widget.pri)

SOURCES += \
    alltools.cpp \
    settingmodel.cpp \
    main.cpp \
    $$PWD\ljh\FaceAction.cpp \
    $$PWD\ljh\PPMatting.cpp \
    $$PWD\ljh\IdCardOcr.cpp \
    $$PWD\ljh\word2pingyin.cpp \
    $$PWD\lah\hand_StaticLib.cpp \
    $$PWD\lah\emotion_StaticLib.cpp \
    $$PWD\lah\facecheck.cpp \
    $$PWD\DB\db.cpp \


HEADERS += \
    alltools.h \
    settingmodel.h \
    $$PWD\ljh\FaceAction.h \
    $$PWD\ljh\PPMatting.h \
    $$PWD\ljh\IdCardOcr.h \
    $$PWD\ljh\word2pingyin.h \
    $$PWD\lah\hand_StaticLib.h \
    $$PWD\lah\emotion_StaticLib.h \
    $$PWD\lah\facecheck.h \
    $$PWD\lah\Struct_cv.h \
    $$PWD\DB\db.h \

# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target

#windows adm64:

INCLUDEPATH += E:\opencv4.7\build\include \
               E:\code_git\code_1\sf6.0_windows\include \
               E:\py3.10.1\include \
               E:\py3.10.1\Lib\site-packages\numpy\core\include \
               C:\Users\12707\Documents\cpp\fastdeploy-win-x64-1.0.4\include \


CONFIG(debug, debug|release) {
LIBS += -LE:\opencv4.7\build\x64\vc16\lib -lopencv_world470d \
        -LE:\code_git\code_1\sf6.0_windows\lib\x64 -lSeetaFaceDetector600d -lSeetaFaceLandmarker600d \
        -lSeetaFaceAntiSpoofingX600d -lSeetaFaceTracking600d -lSeetaFaceRecognizer610d \
        -lSeetaQualityAssessor300d -lSeetaPoseEstimation600d \
        -LE:\py3.10.1\libs -lpython310 \
        -LE:\py3.10.1\Lib\site-packages\numpy\core\lib \
        -LC:\Users\12707\Documents\cpp\fastdeploy-win-x64-1.0.4\lib -lfastdeploy \

} else {
LIBS += -LE:\opencv4.7\build\x64\vc16\lib -lopencv_world470 \
        -LE:\code_git\code_1\sf6.0_windows\lib\x64 -lSeetaFaceDetector600 -lSeetaFaceLandmarker600 \
        -lSeetaFaceAntiSpoofingX600 -lSeetaFaceTracking600 -lSeetaFaceRecognizer610 \
        -lSeetaQualityAssessor300 -lSeetaPoseEstimation600 \
        -LE:\py3.10.1\libs -lpython310 \
        -LE:\py3.10.1\Lib\site-packages\numpy\core\lib \
        -LC:\Users\12707\Documents\cpp\fastdeploy-win-x64-1.0.4\lib -lfastdeploy \

}

RESOURCES += \
    img.qrc


TARGET = Face_Security_Recognition
